import React, { Component } from 'react'
import context from "../utils/context"
let {Consumer} = context
export class Sunzi extends Component {
  render() {
    return (
        <Consumer>
           {
               (data)=>{
                   console.log(data)
                   return <div>孙子</div>
               }
           }
        </Consumer>
     
    )
  }
}

export default Sunzi